<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="/static/common/common_header.jsp"/>
<script type="text/javascript" src="/static/js/car.js"></script>
<style>
    tr {
        color: rgba(10, 10, 10, 0.64);
        font-size: 12px;
        font-style: normal;
    }
</style>
</head>
<body>
<table id="car_datagrid"></table>
<!--工具栏-->
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <input class="easyui-textbox" name="keyword" id="keyword" width="10px" prompt="车牌号/品牌/车主">
    <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="search">查询</a>
</div>
<div id="car_dialog">
    <form id="car_form" method="post">
        <input type="hidden" name="id"/>
        <table align="center" style="margin-top:15px" >
            <tr>
                <td   width="35px"></td>
                <td>车主姓名:</td>
                <td>
                    <input  class="easyui-textbox" type="text" name="customer.name" data-options="required:true"/>
                    <input  id="custId" type="hidden" name="customer.id"  class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>车辆品牌:</td>
                <td>
                    <input   class="easyui-textbox" type="text" name="brand"/>
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>车辆型号:</td>
                <td>
                    <input  class="easyui-textbox" type="text" name="model" />
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>车牌号码:</td>
                <td>
                    <input  class="easyui-textbox" type="text" name="plateNumber" />
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>排气量/L:</td>
                <td>
                    <input  class="easyui-textbox" type="text" name="gasDisplacement" />
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>购买日期:</td>
                <td>
                    <input type="text" class="easyui-datebox" required="required" name="purchaseDate">
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>市场估价/万元:</td>
                <td>
                    <input class="easyui-textbox"  type="text" name="valuation" />
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>分类:</td>
                <td>
                    <select class="easyui-combobox" name="category" style="width:124px;"
                            data-options="panelHeight:'auto'">
                        <option value="1">载客</option>
                        <option value="0">载物</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>车载大小:</td>
                <td>
                    <select class="easyui-combobox" name="size" style="width:124px;"
                            data-options="panelHeight:'auto'">
                        <option value="0">小型</option>
                        <option value="1">中型</option>
                        <option value="2">大型</option>
                        <option value="3">超大型</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td   width="35px"></td>
                <td>备注信息:</td>
                <td>
                    <textarea name="remarks" id="type_Remark"
                              class="easyui-validatebox"  style="height:80px;width: 120px">
                    </textarea>
                </td>
            </tr>
        </table>
    </form>
</div>
<!--底部按钮-->
<div id="bb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
</body>
</html>